package com.qf.mapper;

import com.qf.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * --- 年少有为 ---
 *
 * @author ChenZhuo
 * @date 2025/8/8
 * @desc
 */
@Repository
public interface EmpMapper {

    Boolean add(Emp emp);

    Boolean deleteById(int empno);

    Boolean updateById(int empno);

    List<Emp> list(int empno);
    List<Emp> listNoArgs();

    Emp listById(int empno);

    Boolean update(Emp emp);
}
